Repository navigation
Conversation
) TestNoPackageRedeclaresADefault was red on clean main: four mcpauth/failover timings, two cli import-probe timeouts, the daemon script-view wait, and three testsupport timings bypassed internal/defaults, plus the seed package sign mask. New defaults sections mcpauth (cooldown, refreshSkew, jwtBackdate, jwtLifetime -- protocol-bound by GitHub's ten-minute App JWT cap, so data not settings) and testsupport (leftoverGracePeriod, leftoverPollInterval, eraReplyWait); cli.importTimeout and daemon.scriptWaitDelay join their existing sections. The seed 1<<63 is allowlisted in the guard with its reason: it is the int64 sign mask, arithmetic, not a size or a policy value. Guard test green; mcpauth, testsupport and defaults suites pass. The six internal/cli surface failures (plugin declared twice, parity/manual drift) are pre-existing on clean main at 3b4cb17, verified in a pristine worktree, and untouched here.
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 47 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Closing as a superseded duplicate: PR #10065 (task 16870, issue #8720) merged the same 11-site fix for TestNoPackageRedeclaresADefault while this branch was in flight (the two packets carried different dedupe keys, #8270 vs #8720, for the same guard failure). Salvage diff posted on PR #10065: nothing unique in this branch needs to land — the guard is green on main (verified in a pristine worktree at bc42ebf). Issue #8270 closes on PR #10065's evidence. |
Fixes #8270 —
TestNoPackageRedeclaresADefaultwas red on clean main: 11 constants bypassedinternal/defaults/defaults.json.What moved where (task 15293's verified scope, all 11 sites)
mcpauthsection in defaults.json. Data, not settings: GitHub caps an App JWT at ten minutes, so these are protocol-bound — the same reasoning the defaults package already applies to thefiles/gitsections.context.WithTimeoutinrunCapture/runCaptureEnv→cli.importTimeout.scriptWaitDelay2s →daemon.scriptWaitDelay.testsupportsection.1<<63allowlisted in the guard with its written reason — it is the int64 sign mask (MaxInt63 by arithmetic), not a size or a policy value.Verification
go test ./internal/defaults/— green, guard included (was red with the 11 sites).go build ./...— pass.internal/mcpauth,internal/testsupport/...— pass.pkgs/mcpxsuite: 61 packages ok. Every remaining failure was verified pre-existing on clean main in pristine worktrees (cli plugin-surface drift ×6, config merged-load ×1, refdoc parity ×1, e2e deps-source ×1, settings compendium ×1) or passes in isolation (two inline-daemon timing tests, load-sensitive during the parallel run). None is touched by this change.Queue task 16869 (lane any-b). #8270 blocks task 15117 / issue #8900.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.